VERSION 5.00
Begin VB.UserControl ClientReception 
   BackColor       =   &H00FFFFFF&
   ClientHeight    =   4035
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   5460
   ScaleHeight     =   4035
   ScaleWidth      =   5460
   Begin VB.Label PartnerCode_Label 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "Partner Code:"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   960
      TabIndex        =   17
      Top             =   2640
      Width           =   1695
   End
   Begin VB.Label CoupleCode_Label 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "Couple Code:"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   960
      TabIndex        =   16
      Top             =   3120
      Width           =   1695
   End
   Begin VB.Label CoupleCode_Data 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   375
      Left            =   2880
      TabIndex        =   15
      Top             =   3120
      Width           =   2295
   End
   Begin VB.Label PartnerCode_Data 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   375
      Left            =   2880
      TabIndex        =   14
      Top             =   2640
      Width           =   2295
   End
   Begin VB.Label StarCupC 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "*"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   24
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   495
      Left            =   720
      TabIndex        =   13
      Top             =   3120
      Width           =   255
   End
   Begin VB.Label StarST 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "*"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   24
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   495
      Left            =   720
      TabIndex        =   12
      Top             =   2160
      Width           =   255
   End
   Begin VB.Line SexColorLine 
      BorderColor     =   &H00FFC0C0&
      BorderWidth     =   10
      X1              =   120
      X2              =   120
      Y1              =   600
      Y2              =   2520
   End
   Begin VB.Label ClientSexLabel 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "Client Sex Goes Here"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   720
      TabIndex        =   11
      Top             =   360
      Width           =   2415
   End
   Begin VB.Label ReturnVisit_Data 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   375
      Left            =   2880
      TabIndex        =   10
      Top             =   720
      Width           =   2295
   End
   Begin VB.Label ReturnVisit_Label 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "Return Visit:"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   960
      TabIndex        =   9
      Top             =   720
      Width           =   1455
   End
   Begin VB.Label StarRV 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "*"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   24
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   495
      Left            =   720
      TabIndex        =   8
      Top             =   720
      Width           =   255
   End
   Begin VB.Label ClientCode_Data 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   375
      Left            =   2880
      TabIndex        =   7
      Top             =   1680
      Width           =   2295
   End
   Begin VB.Label NewClientCode_Data 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   375
      Left            =   2880
      TabIndex        =   6
      Top             =   1200
      Width           =   2295
   End
   Begin VB.Label SessionType_Data 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   375
      Left            =   2880
      TabIndex        =   5
      Top             =   2160
      Width           =   2295
   End
   Begin VB.Label ClientCode_Label 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "Client Code:"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   960
      TabIndex        =   4
      Top             =   1680
      Width           =   1695
   End
   Begin VB.Label NewClientCode_Label 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "New Client Code:"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   960
      TabIndex        =   3
      Top             =   1200
      Width           =   1815
   End
   Begin VB.Label First_Name_Label 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "Session Type:"
      BeginProperty Font 
         Name            =   "Arial Narrow"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   960
      TabIndex        =   2
      Top             =   2160
      Width           =   1695
   End
   Begin VB.Label StarNCC 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "*"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   24
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   495
      Left            =   720
      TabIndex        =   1
      Top             =   1200
      Width           =   255
   End
   Begin VB.Label StarCC 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "*"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   24
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H8000000D&
      Height          =   495
      Left            =   720
      TabIndex        =   0
      Top             =   1680
      Width           =   255
   End
   Begin VB.Shape Shape2 
      BackColor       =   &H00C0FFFF&
      BackStyle       =   1  'Opaque
      BorderColor     =   &H00000000&
      BorderWidth     =   2
      Height          =   2895
      Left            =   120
      Shape           =   4  'Rounded Rectangle
      Top             =   120
      Width           =   5295
   End
End
Attribute VB_Name = "ClientReception"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Private Loc_Sex As String
Private Loc_SessionType As String
Private Loc_ReturnVisit As String
Private Loc_NewClientCode As String
Private Loc_ClientCode As String
Private Loc_PartnerCode As String
Private Loc_CoupleCode As String

Private Sub UserControl_Initialize()
   Loc_Sex = ""
   Loc_ReturnVisit = ""
   Loc_NewClientCode = ""
   Loc_ClientCode = ""
   StarRV.Visible = False
   StarNCC.Visible = False
   StarCC.Visible = False
   StarST.Visible = False
   StarCupC.Visible = False
   CoupleCode_Label.Visible = False
   CoupleCode_Data.Visible = False
   PartnerCode_Label.Visible = False
   PartnerCode_Data.Visible = False
End Sub

Property Let ClientSex(ByVal CS As String)
   Loc_Sex = CS
   If Loc_Sex = "1" Then
      ClientSexLabel.Caption = "MALE CLIENT"
      SexColorLine.BorderColor = vbBlue
   Else
      If Loc_Sex = "2" Then
         ClientSexLabel.Caption = "FEMALE CLIENT"
         SexColorLine.BorderColor = vbGreen
      Else
         ClientSexLabel.Caption = "Error"
         SexColorLine.BorderColor = vbRed
      End If
   End If
End Property

Property Let SessionType(ByVal ST As String)
   Loc_SessionType = ST
   If Loc_SessionType = "01" Then
      SessionType_Data.Caption = "Individual"
   Else
      If Loc_SessionType = "02" Then
         SessionType_Data.Caption = "Couple"
      Else
         SessionType_Data.Caption = "Error"
      End If
   End If
End Property

Property Let ReturnVisit(ByVal RV As String)
   Loc_ReturnVisit = RV
   If Loc_ReturnVisit = "0" Then
      ReturnVisit_Data.Caption = "No"
   Else
      If Loc_ReturnVisit = "1" Then
         ReturnVisit_Data.Caption = "Yes"
      Else
         'Error
      End If
   End If
End Property

Property Let NewClientCode(ByVal NCC As String)
   Loc_NewClientCode = NCC
   If Loc_NewClientCode = "0" Then
      NewClientCode_Data.Caption = "No"
   Else
      If Loc_NewClientCode = "1" Then
         NewClientCode_Data.Caption = "Yes"
      Else
         NewClientCode_Data.Caption = "Error"
      End If
   End If
End Property

Property Let ClientCode(ByVal CC As String)
   Loc_ClientCode = CC
   ClientCode_Data.Caption = Loc_ClientCode
End Property

Property Let ClientCodeEnabled(ByVal Status As Boolean)
   ClientCode_Label.Enabled = Status
End Property

Property Let PartnerCode(ByVal PC As String)
   Loc_PartnerCode = PC
   PartnerCode_Data.Caption = Loc_PartnerCode
End Property

Property Let CoupleCode(ByVal CupC As String)
  Loc_CoupleCode = CupC
  CoupleCode_Data.Caption = Loc_CoupleCode
End Property



Public Sub EnableRVStar()
   StarRV.Visible = True
   StarNCC.Visible = False
   StarCC.Visible = False
   StarST.Visible = False
   StarCupC.Visible = False
End Sub

Public Sub EnableNCCStar()
   StarRV.Visible = False
   StarNCC.Visible = True
   StarCC.Visible = False
   StarST.Visible = False
   StarCupC.Visible = False
End Sub

Public Sub EnableCCStar()
   StarRV.Visible = False
   StarNCC.Visible = False
   StarCC.Visible = True
   StarST.Visible = False
   StarCupC.Visible = False
End Sub

Public Sub EnableSTStar()
   StarRV.Visible = False
   StarNCC.Visible = False
   StarCC.Visible = False
   StarST.Visible = True
   StarCupC.Visible = False
End Sub

Public Sub EnableCupCStar()
   StarRV.Visible = False
   StarNCC.Visible = False
   StarCC.Visible = False
   StarST.Visible = False
   StarCupC.Visible = True
End Sub

Public Sub ShowCoupleDetails()
   Shape2.Height = 3735
   CoupleCode_Label.Visible = True
   CoupleCode_Data.Visible = True
   PartnerCode_Label.Visible = True
   PartnerCode_Data.Visible = True
End Sub
